package com.thermofisher.dsc.amanda.customer.controller;

import com.thermofisher.dsc.amanda.common.crud.controller.AbsBaseController;
import com.thermofisher.dsc.amanda.common.tracking.TrackingAction;
import com.thermofisher.dsc.amanda.customer.service.CustomerService;
import com.thermofisher.dsc.amanda.customer.service.ITSCARService;
import com.thermofisher.dsc.amanda.model.constant.ActionEnum;
import com.thermofisher.dsc.amanda.model.dto.customer.CustomerDto;
import com.thermofisher.dsc.amanda.model.dto.customer.ITSCARDto;
import com.thermofisher.dsc.amanda.model.response.BaseResponse;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;


/**
 * @author wenjie.yang on 1/3/2019.
 */
@RestController
@RequestMapping("/api/customer/ar")
public class ITSCARController extends AbsBaseController<ITSCARService, ITSCARDto> {
    @Override
    @PostMapping
    @TrackingAction(action = ActionEnum.CLICK_SUPER_PAYMENT_DAYS)
    public BaseResponse getList(@RequestBody Map<String, Object> params) {
        return super.getList(params);
    }


}
